package is.ru.honn.rupin.data;

import is.ruframework.data.RuDataAccess;
import is.ru.honn.rupin.domain.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: gmatt
 * Date: 19.10.2012
 * Time: 20:16
 *
 * A gateway into persistent data storage for users
 */
public interface UserDataGateway extends RuDataAccess{
    public int add(User user);
    public User getUserByUsername(String username);
}
